package admin.DTO;

public class ComponentDTO {
	private int component_id;
	private String component_name;
	private String is_fault;
	private String allcount;
	private String faultcount;
	
	public ComponentDTO() {
	}

	public ComponentDTO(int component_id, String component_name,
			String is_fault, String allcount, String faultcount) {
		this.component_id = component_id;
		this.component_name = component_name;
		this.is_fault = is_fault;
		this.allcount = allcount;
		this.faultcount = faultcount;
	}

	public int getComponent_id() {
		return component_id;
	}

	public void setComponent_id(int component_id) {
		this.component_id = component_id;
	}

	public String getComponent_name() {
		return component_name;
	}

	public void setComponent_name(String component_name) {
		this.component_name = component_name;
	}

	public String getIs_fault() {
		return is_fault;
	}

	public void setIs_fault(String is_fault) {
		this.is_fault = is_fault;
	}

	public String getAllcount() {
		return allcount;
	}

	public void setAllcount(String allcount) {
		this.allcount = allcount;
	}

	public String getFaultcount() {
		return faultcount;
	}

	public void setFaultcount(String faultcount) {
		this.faultcount = faultcount;
	}

	@Override
	public String toString() {
		return "ComponentDTO [component_id=" + component_id
				+ ", component_name=" + component_name + ", is_fault="
				+ is_fault + ", allcount=" + allcount + ", faultcount="
				+ faultcount + "]";
	}

	
}
